MSVC release builds: Ensure that /LTCG is used
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 23 Oct 2015 02:33:41 +0000 (10:33 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 23 Oct 2015 02:33:41 +0000 (10:33 +0800)
commitde16a4e07c610eb7e8e824b08d43af969f79424d
tree4f44337dafc2aeef3ad03899885dbc84b08ef46f
parentb5e1fd5b7f2e6efa6c3133f27a4765b9f5c886b6
MSVC release builds: Ensure that /LTCG is used

MSVC 2015 changed its default link-time code generation setting to
/LTCG:incremental, which causes problems if /opt:noref is to be used,
meaning that some code will be optimized out by the linker.

Avoid this situtation here by enforcing the use of /LTCG for MSVC 2010+
builds.
build/win32/vs10/broadwayd.vcxprojin
build/win32/vs10/gailutil-3.vcxprojin
build/win32/vs10/gdk-3.vcxprojin
build/win32/vs10/gtk-3.vcxprojin
build/win32/vs10/gtk-encode-symbolic-svg.vcxproj
build/win32/vs10/gtk3-demo-application.vcxprojin
build/win32/vs10/gtk3-demo.vcxprojin
build/win32/vs10/gtk3-icon-browser.vcxprojin